<?php

$routes = array(
    //BUILD
    //Home page
    array(
        'url'   => '/^\/?$/',
        'alias' => 'home.php',
        'layout'=> 'defaultLayout.php'
    ),
    //404 page
    array(
        'url'   => '/^404\/?$/',
        'alias' => '404.php',
        'layout'=> 'defaultLayout.php'
    ),
    //motori
    array(
        'url'   => '/^motori\/?$/',
        'alias' => 'motori.php',
        'layout'=> 'defaultLayout.php'
    ),
    //servisna mreza
    array(
        'url'   => '/^servisna-mreza\/?$/',
        'alias' => 'servisna-mreza.php',
        'layout'=> 'defaultLayout.php'
    ),
    //kontakt
    array(
        'url'   => '/^kontakt\/?$/',
        'alias' => 'kontakt.php',
        'layout'=> 'defaultLayout.php'
    ),
    array(
        'url'   => '/^kontakt\/submit\/?$/',
        'alias' => 'kontakt_submit.php',
        'layout'=> 'noLayout.php'
    ),

    //DIAVEL
    //diavel
    array(
        'url'   => '/^motori\/diavel\/?$/',
        'alias' => 'ducatiDiavel/diavel.php',
        'layout'=> 'defaultLayout.php'
    ),
    //diavel tech
    array(
        'url'   => '/^motori\/diavel\/karakteristike\/?$/',
        'alias' => 'ducatiDiavel/diavel-tech.php',
        'layout'=> 'defaultLayout.php'
    ),

    //DIAVEL CARBON
    //diavel carbon home
    array(
        'url'   => '/^motori\/diavel-carbon\/?$/',
        'alias' => 'ducatiDiavelCarbon/diavel-carbon.php',
        'layout'=> 'defaultLayout.php'
    ),
    //diavel carbon tech
    array(
        'url'   => '/^motori\/diavel-carbon\/karakteristike\/?$/',
        'alias' => 'ducatiDiavelCarbon/diavel-carbon-tech.php',
        'layout'=> 'defaultLayout.php'
    ),
    //diavel carbon tech
    array(
        'url'   => '/^motori\/diavel-carbon\/galerija\/?$/',
        'alias' => 'ducatiDiavelCarbon/diavel-carbon-gallery.php',
        'layout'=> 'defaultLayout.php'
    ),
);
